namespace go industics.blockchain.project

include "base.thrift"

service ProjectService {
    base.BaseGetResp GetMileStone(1:base.BaseGetReq req)
    base.BaseGetResp GetProjectDocHash(1:base.BaseGetReq req)

    base.BaseGetResp GetMileStoneHistory(1:base.BaseGetReq req)
    base.BaseGetResp GetProjectDocHashHistory(1:base.BaseGetReq req)

    base.BaseGetResp GetMileStoneByRange(1:base.BaseRangeGetReq req)
    base.BaseGetResp GetProjectDocHashByRange(1:base.BaseRangeGetReq req)

    base.BasePostResp CreateMileStone(1:base.BasePostReq req)
    base.BasePostResp CreateProjectDocHash(1:base.BasePostReq req)

    base.BasePutResp UpdateMileStone(1:base.BasePutReq req)
    base.BasePutResp UpdateProjectDocHash(1:base.BasePutReq req)

    base.BaseDeleteResp DeleteMileStone(1:base.BaseDeleteReq req)
    base.BaseDeleteResp DeleteProjectDocHash(1:base.BaseDeleteReq req)
}